package org.example.JVM.Proxy.JDK;

/**
 * @description:
 * @author: farprt
 * @create: 2022-12-06 20:37
 **/
public class App {

    public static void main(String[] args) throws Exception {
        HttpRequestTemplate target=new HttpRequestTemplateImpl();
        HttpRequestTemplate requestTemplate= (HttpRequestTemplate) MyProxy.newProxyInstance(new Class[]{HttpRequestTemplate.class},new HttpRequestInvocationHandler(target));
    }
}